﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace MVC_No05.Models
{
    public class TaskOfPage
    {
        [Display(Name = "任务优先级")]
        public int? TaskPriority { get; set; }

        [Required]
        [StringLength(200)]
        [Display(Name = "任务内容")]
        public string Content { get; set; }

        [Display(Name = "添加时间")]
        [DataType(DataType.Date)]
        public DateTime AddTime { get; set; }

        [Display(Name = "任务状态")]
        public int? TaskState { get; set; }

        [Display(Name = "完成时间")]
        [DataType(DataType.Date)]
        public DateTime? FinishedTime { get; set; }

        [Display(Name = "所属项目编号")]
        public int? uid { get; set; }
    }
}